package com.example.guiguihomemedical.service;

import com.example.guiguihomemedical.entity.Record;
import com.example.guiguihomemedical.entity.dto.RecordList;

import java.util.List;

public interface RecordService {
    void addRecord(Record record);
    void updateRecord(Record record);
    void updateRecord_h(Record record);
    void deleteRecordById(String idcard);
    Record findByIdcard(String idcard);
    List<Record> findAllRecords();
    List<Record> recordList(String query);
    RecordList getRecordByIdcard(String idcard);
}
